# demo : 要求将列表中成绩，都加10分  ,[12,34,56,78,45]

index = 0
grade = [12, 34, 56, 78, 45]
while index < len(grade):
    temp = grade[index]
    temp += 10
    grade[index] = temp
    index += 1

print(grade)

_garde = []
for temp in grade:
    temp += 10
    _garde.append(temp)

print(_garde)
